package top.zxybird.yun.serialization.thrift.model;

import com.google.common.collect.Sets;

import java.util.Set;

public class TSet extends TType {

  private Set value;

  public TSet() {
    this.setType(TTypeConstant.SET);
    value = Sets.newHashSet();
  }

  public Set<? extends TType> getValue() {
    return value;
  }

  public void add(TType obj) {
    value.add(obj);
  }

}
